package request

// Paging common input parameter structure
type PageInfo struct {
  Page      int    `json:"page" form:"page"`             // 页码
  PageSize  int    `json:"pageSize" form:"pageSize"`     // 页面数据条数
  SortField string `json:"sortField" form:"sortField"`   // 排序字段
  SortRule  int    `json:"sortingRules" form:"sortRule"` // 排序规则
}

// Find by id structure
type GetById struct {
  ID float64 `json:"id" form:"id"` // 主键ID
}

type IdsReq struct {
  Ids []int `json:"ids" form:"ids"`
}

// GetById role by id structure
type GetAuthorityId struct {
  AuthorityId string // 角色ID
}

type Empty struct{}
